package com.link.base.base.order.model;

import com.link.core.basic.model.BasicModel;

/**
 * @author unknown
 * @date unknown
 * @comments 定单行
 */
public class SaleOrderItem extends BasicModel {

    private Double prodRatio;
    private String area;
    private String buildNo;
    private String comments = "";
    private String crmLineNo;
    private String currency;
    private Long headId;
    /**
     * 原价
     */
    private Double basePrice;
    /**
     * 促销价
     */
    private Double promotionPrice;
    /**
     * 最终实际价格
     */
    private Double netPrice;
    /**
     * 折扣比率
     */
    private Double discount;
    /**
     * 手动调整价格
     */
    private Double manualPrice;
    private String prodCode;
    private String prodComments;
    private Long prodId;
    private String prodName;
    /**
     * 产品物流码
     */
    private String prodLogisticsNo;
    /**
     * 整箱价格
     */
    private String prodCost;
    private String prodNum;
    private String prodOrderNo;
    private String prodPartInfo;
    private String prodUnit;
    /**
     * 产品的库存单位
     */
    private String stockUnit;
    /**
     * 产品的库存单位数量
     */
    private String stockQty;
    /**
     * 产品，转换系数
     */
    private String converConff;
    /**
     * 订单数量
     */
    private Double qty;
    /**
     * 已到货数量
     */
    private Double arrivedQty;
    /**
     * 本次到货数量
     */
    private Double thisQty;
    private String ridgepoleNum;
    private String specs;
    private String status;
    /**
     * 合计金额
     */
    private Double amount;
    /**
     * 订单行类型
     */
    private String itemType;
    /**
     * 订单行状态
     */
    private String itemStatus;
    /**
     * 政策结果Id
     */
    private Long policyResultId;
    /**
     * 政策规则Id
     */
    private Long policyRuleId;
    /**
     * 政策结果说明信息
     */
    private String policyDesc;
    /**
     * 产品缩略图路径
     */
    private String prodSmallImagePath;
    /**
     * 产品图片路径
     */
    private String prodImagePath;

    /**
     * 产品来源
     */
    private String source;
    private Long orderId;
    private String orderStatus;
    private String cumulateSale;
    /**
     * sku码
     */
    private String sku;

    /**
     * 是否赠品
     */
    private String giftFlag;
    /**
     * 税率
     */
    private Integer taxRate;
    /**
     * 政策价
     */
    private Double policyPrice;

    /**
     * 产品品牌（一级）
     */
    private String prodBrand;
    /**
     * 产品品牌（二级）
     */
    private String prodSecBrand;
    /**
     * 产品品牌（三级）
     */
    private String prodThirdBrand;
    /**
     * 产品系列（一级）
     */
    private String prodMatSeries;
    /**
     * 产品系列（二级）
     */
    private String prodSecSeries;
    /**
     * 产品系列（二级）
     */
    private String prodThirdSeries;

    /**
     * 是否已经生成赠品，政策校验中使用，不存储到数据库
     */
    private boolean generateGiftFlag;

    /**
     * 订单行优惠 ，消费者订单手输字段
     */
    private Double preferential;

    /**
     * 整单折扣分摊
     */
    private Double wholeDiscountShare;

    /**
     * 二级分类
     */
    private String secCate;
    /**
     * 产品规格
     */
    private String prodStandard;
    /**
     * 用于查询某天的产品销售明细 added by lizt 20171010
     */
    private String queryDate;
    /**
     * 产品风格 added by XYQ 20171012
     */
    private String prodStyle;
    /**
     * 标签
     */
    private String tagName;
    /**
     * 产品属性text
     */
    private String prodAttr;
    /**
     * 产品条形码
     */
    private String prodBarcode;

    /**
     * 单品积分
     */
    private Double basePoints;
    /**
     * 订单行总积分
     */
    private Double totalItemPoints;
    /**
     * 转化转化后数量
     */
    private Integer ratioQty;
    /**产品类型（产品、商品）值列表:PROD_GOOD_TYPE (Prod/Good/Pack)*/
    private String prodGoodType;

    public String getProdGoodType() {
        return prodGoodType;
    }

    public void setProdGoodType(String prodGoodType) {
        this.prodGoodType = prodGoodType;
    }

    public Double getBasePoints() {
        return basePoints;
    }

    public void setBasePoints(Double basePoints) {
        this.basePoints = basePoints;
    }

    public Double getTotalItemPoints() {
        return totalItemPoints;
    }

    public void setTotalItemPoints(Double totalItemPoints) {
        this.totalItemPoints = totalItemPoints;
    }

    public String getProdBarcode() {
        return prodBarcode;
    }

    public void setProdBarcode(String prodBarcode) {
        this.prodBarcode = prodBarcode;
    }

    public String getProdAttr() {
        return prodAttr;
    }

    public void setProdAttr(String prodAttr) {
        this.prodAttr = prodAttr;
    }

    public Double getArrivedQty() {
        return this.arrivedQty;
    }

    public void setArrivedQty(Double arrivedQty) {
        this.arrivedQty = arrivedQty;
    }

    public Double getThisQty() {
        return thisQty;
    }

    public void setThisQty(Double thisQty) {
        this.thisQty = thisQty;
    }

    public String getCumulateSale() {
        return cumulateSale;
    }

    public void setCumulateSale(String cumulateSale) {
        this.cumulateSale = cumulateSale;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getProdSmallImagePath() {
        return prodSmallImagePath;
    }

    public void setProdSmallImagePath(String prodSmallImagePath) {
        this.prodSmallImagePath = prodSmallImagePath;
    }

    public String getProdImagePath() {
        return prodImagePath;
    }

    public void setProdImagePath(String prodImagePath) {
        this.prodImagePath = prodImagePath;
    }

    public Double getProdRatio() {
        return prodRatio;
    }

    public void setProdRatio(Double prodRatio) {
        this.prodRatio = prodRatio;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getBuildNo() {
        return buildNo;
    }

    public void setBuildNo(String buildNo) {
        this.buildNo = buildNo;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getCrmLineNo() {
        return crmLineNo;
    }

    public void setCrmLineNo(String crmLineNo) {
        this.crmLineNo = crmLineNo;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public Long getHeadId() {
        return headId;
    }

    public void setHeadId(Long headId) {
        this.headId = headId;
    }

    public String getProdCode() {
        return prodCode;
    }

    public void setProdCode(String prodCode) {
        this.prodCode = prodCode;
    }

    public String getProdComments() {
        return prodComments;
    }

    public void setProdComments(String prodComments) {
        this.prodComments = prodComments;
    }

    public Long getProdId() {
        return prodId;
    }

    public void setProdId(Long prodId) {
        this.prodId = prodId;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public String getProdNum() {
        return prodNum;
    }

    public void setProdNum(String prodNum) {
        this.prodNum = prodNum;
    }

    public String getProdOrderNo() {
        return prodOrderNo;
    }

    public void setProdOrderNo(String prodOrderNo) {
        this.prodOrderNo = prodOrderNo;
    }

    public String getProdPartInfo() {
        return prodPartInfo;
    }

    public void setProdPartInfo(String prodPartInfo) {
        this.prodPartInfo = prodPartInfo;
    }

    public String getProdUnit() {
        return prodUnit;
    }

    public void setProdUnit(String prodUnit) {
        this.prodUnit = prodUnit;
    }

    public Double getQty() {
        return qty;
    }

    public void setQty(Double qty) {
        this.qty = qty;
    }

    public String getRidgepoleNum() {
        return ridgepoleNum;
    }

    public void setRidgepoleNum(String ridgepoleNum) {
        this.ridgepoleNum = ridgepoleNum;
    }

    public String getSpecs() {
        return specs;
    }

    public void setSpecs(String specs) {
        this.specs = specs;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public String getItemStatus() {
        return itemStatus;
    }

    public void setItemStatus(String itemStatus) {
        this.itemStatus = itemStatus;
    }

    public Long getPolicyResultId() {
        return policyResultId;
    }

    public void setPolicyResultId(Long policyResultId) {
        this.policyResultId = policyResultId;
    }

    public Long getPolicyRuleId() {
        return policyRuleId;
    }

    public void setPolicyRuleId(Long policyRuleId) {
        this.policyRuleId = policyRuleId;
    }

    public String getPolicyDesc() {
        return policyDesc;
    }

    public void setPolicyDesc(String policyDesc) {
        this.policyDesc = policyDesc;
    }

    public Double getBasePrice() {
        return basePrice;
    }

    public void setBasePrice(Double basePrice) {
        this.basePrice = basePrice;
    }

    public Double getPromotionPrice() {
        return this.promotionPrice;
    }

    public void setPromotionPrice(Double promotionPrice) {
        this.promotionPrice = promotionPrice;
    }

    public Double getNetPrice() {
        return netPrice;
    }

    public void setNetPrice(Double netPrice) {
        this.netPrice = netPrice;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public Double getManualPrice() {
        return manualPrice;
    }

    public void setManualPrice(Double manualPrice) {
        this.manualPrice = manualPrice;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public String getGiftFlag() {
        return giftFlag;
    }

    public void setGiftFlag(String giftFlag) {
        this.giftFlag = giftFlag;
    }

    public Integer getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(Integer taxRate) {
        this.taxRate = taxRate;
    }

    public Double getPolicyPrice() {
        return policyPrice;
    }

    public void setPolicyPrice(Double policyPrice) {
        this.policyPrice = policyPrice;
    }

    public String getProdBrand() {
        return prodBrand;
    }

    public void setProdBrand(String prodBrand) {
        this.prodBrand = prodBrand;
    }

    public String getProdSecBrand() {
        return prodSecBrand;
    }

    public void setProdSecBrand(String prodSecBrand) {
        this.prodSecBrand = prodSecBrand;
    }

    public String getProdThirdBrand() {
        return prodThirdBrand;
    }

    public void setProdThirdBrand(String prodThirdBrand) {
        this.prodThirdBrand = prodThirdBrand;
    }

    public String getProdMatSeries() {
        return prodMatSeries;
    }

    public void setProdMatSeries(String prodMatSeries) {
        this.prodMatSeries = prodMatSeries;
    }

    public String getProdSecSeries() {
        return prodSecSeries;
    }

    public void setProdSecSeries(String prodSecSeries) {
        this.prodSecSeries = prodSecSeries;
    }

    public String getProdThirdSeries() {
        return prodThirdSeries;
    }

    public void setProdThirdSeries(String prodThirdSeries) {
        this.prodThirdSeries = prodThirdSeries;
    }


    public String getStockUnit() {
        return stockUnit;
    }

    public void setStockUnit(String stockUnit) {
        this.stockUnit = stockUnit;
    }

    public String getConverConff() {
        return converConff;
    }

    public void setConverConff(String converConff) {
        this.converConff = converConff;
    }


    public boolean isGenerateGiftFlag() {
        return generateGiftFlag;
    }

    public void setGenerateGiftFlag(boolean generateGiftFlag) {
        this.generateGiftFlag = generateGiftFlag;
    }

    public Double getPreferential() {
        return preferential;
    }

    public void setPreferential(Double preferential) {
        this.preferential = preferential;
    }

    public Double getWholeDiscountShare() {
        return wholeDiscountShare;
    }

    public void setWholeDiscountShare(Double wholeDiscountShare) {
        this.wholeDiscountShare = wholeDiscountShare;
    }

    public String getProdLogisticsNo() {
        return prodLogisticsNo;
    }

    public void setProdLogisticsNo(String prodLogisticsNo) {
        this.prodLogisticsNo = prodLogisticsNo;
    }

    public String getStockQty() {
        return stockQty;
    }

    public void setStockQty(String stockQty) {
        this.stockQty = stockQty;
    }

    public String getProdCost() {
        return prodCost;
    }

    public void setProdCost(String prodCost) {
        this.prodCost = prodCost;
    }

    public String getProdStandard() {
        return prodStandard;
    }

    public void setProdStandard(String prodStandard) {
        this.prodStandard = prodStandard;
    }

    public String getQueryDate() {
        return queryDate;
    }

    public void setQueryDate(String queryDate) {
        this.queryDate = queryDate;
    }

    public String getProdStyle() {
        return prodStyle;
    }

    public void setProdStyle(String prodStyle) {
        this.prodStyle = prodStyle;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public String getSecCate() {
        return secCate;
    }

    public void setSecCate(String secCate) {
        this.secCate = secCate;
    }

    public Integer getRatioQty() {
        return ratioQty;
    }

    public void setRatioQty(Integer ratioQty) {
        this.ratioQty = ratioQty;
    }
}
